Exploring Graphs with Elixir by Tony Hammond

Exploring Graphs with Elixir by Tony Hammond

Author:Tony Hammond [Tony Hammond]
Language: eng
Format: epub
Publisher: Pragmatic Bookshelf
Published: 2022-11-02T00:00:00+00:00


Building an RDF Graph

We’ll switch gears here and see how we can build up an RDF graph using RDF.ex rather than writing out the RDF explicitly as in the examples we just saw.

One of the challenges to working with RDF is managing URI strings. We’ll need to deal with node names ourselves (for instance data) as these will generally use application-specific naming. But for edges and node labels, we don’t want to be dealing with URI strings every time we add a property or a class name.

We can use one particular aspect of RDF.ex—its support for RDF vocabularies. This will abstract away the URI strings.

Let’s see how we might do this.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.